struct response_struct
{
	char* mimetype;		//  text/html
	char* httpver;		//  HTTP/1.0 or HTTP/1.1
	char* statuscode;	//  200
	char* status;		//  OK
	char* host;			//  192.168.0.3
	char* server;		
	char* date;
	char* length;
	char* path;
	size_t contlength; 
};

struct request_struct
{
	char* method;
	char* path;
	char* httpver;
	char* extension;
	char* body;
};

struct client_struct
{
	bool ishttp11;
	s32 socket;
	struct request_struct request;
	struct response_struct response;
};

typedef struct client_struct client_t;
